﻿using S.EarTag.Domain.Model;
using SqlSugarTests.WebAPI.Model;

namespace S.EarTag.Infrastructure.Repository.Interface.IEarTagRepository
{
    public interface IMarkModelRepository : IBaseRepository<MarkModel>
    {
        Task<List<MarkModel>> GetMarkListPage(string? EarTag, string? NewEITag, string? EITag, int WearId, string? MarkState);

        Task<bool> BatchRemoveMaek(List<int> ids);
        Task<bool> UpdDateMark(int MarkId);
        /// <summary>
        /// 根据可视耳号修改状态为已使用
        /// </summary>
        /// <param name="EarTag"></param>
        /// <returns></returns>
        Task<bool> UpdMarkStateEarTag(string? EarTag);
        /// <summary>
        /// 根据可视耳号修改状态为未使用
        /// </summary>
        /// <param name="EarTag"></param>
        /// <returns></returns>
        Task<bool> UpdMarkStateEarTagTwo(string? EarTag);
        Task<List<MarkModel>> GetMarkModels();
        Task<List<MarkModel>> GetMarkids(string? ids);
        Task<List<MarkModel>> GetMarkEITag(string? EITag);
    }
}
